package start;

import java.awt.Image;
import java.io.IOException;

import javax.imageio.ImageIO;
/**
 * Diese Klasse speichert alle verwendeten Icons und stellt es allen Klassen zur Verfuegung.
 */
public class Images {
	/**Intern gespeichertes Icon*/
	private Image windowIcon;
	/**Intern gespeichertes Icon*/
	private Image closeSmall;
	/**Intern gespeichertes Icon*/
	private Image plus;
	/**Intern gespeichertes Icon*/
	private Image plusSmall;
	/**Intern gespeichertes Icon*/
	private Image minus;
	/**Intern gespeichertes Icon*/
	private Image minusSmall;
	/**Intern gespeichertes Icon*/
	private Image exitSmall;
	/**Intern gespeichertes Icon*/
	private Image editSmall;
	/**Intern gespeichertes Icon*/
	private Image search;
	/**Intern gespeichertes Icon*/
	private Image searchSmall;
	/**Intern gespeichertes Icon*/
	private Image kategorienSmall;
	/**Intern gespeichertes Icon*/
	private Image openSmall;
	/**Intern gespeichertes Icon*/
	private Image loadFolderSmall;
	/**Intern gespeichertes Icon*/
	private Image keinBild;
	/**Intern gespeichertes Icon*/
	private Image save;
	/**Intern gespeichertes Icon*/
	private Image sternVoll;
	/**Intern gespeichertes Icon*/
	private Image sternLeer;
	/**Intern gespeichertes Icon*/
	private Image tableBewertung0;
	/**Intern gespeichertes Icon*/
	private Image tableBewertung1;
	/**Intern gespeichertes Icon*/
	private Image tableBewertung2;
	/**Intern gespeichertes Icon*/
	private Image tableBewertung3;
	/**Intern gespeichertes Icon*/
	private Image tableBewertung4;
	/**Intern gespeichertes Icon*/
	private Image tableBewertung5;
	/**Intern gespeichertes Icon*/
	private Image trashSmall;
	/**Intern gespeichertes Icon*/
	private Image moveForward;
	/**Intern gespeichertes Icon*/
	private Image moveBack;
	/**Bild fuer Beispiel*/
	private Image examplePic;
	
	/**Initiiert die Icons zu ihren Pfanden.*/
	public Images() throws IOException {
		windowIcon = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/logo.png"));
		closeSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/close.png"));
		plus = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/plus.png"));
		plusSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/plus.png"));
		minus = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/minus.png"));
		minusSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/minus-white.png"));
		editSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/edit.png"));
		exitSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/exit.png"));
		search = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/search.png"));
		searchSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/search.png"));
		kategorienSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/library-bookmarked.png"));
		loadFolderSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/open-alt.png"));
		openSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/open.png"));
		keinBild = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/keinbild.png"));
		save = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/save.png"));
		sternVoll = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/stern_voll.png"));
		sternLeer = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/stern_leer.png"));
		tableBewertung0 = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/bewertung0.png"));
		tableBewertung1 = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/bewertung1.png"));
		tableBewertung2 = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/bewertung2.png"));
		tableBewertung3 = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/bewertung3.png"));
		tableBewertung4 = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/bewertung4.png"));
		tableBewertung5 = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/bewertung5.png"));
		trashSmall = ImageIO.read(getClass().getClassLoader().getResourceAsStream("smallimgs/trash-full.png"));
		moveForward = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/moveForward_small.png"));
		moveBack = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/moveBack_small.png"));
		examplePic = ImageIO.read(getClass().getClassLoader().getResourceAsStream("imgs/beispielrezept.jpg"));
	}
	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getWindowIcon() {
		return windowIcon;
	}

	/**
	 * setter Methode fuer Icon
	 * @param windowIcon
	 */
	public void setWindowIcon(Image windowIcon) {
		this.windowIcon = windowIcon;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getCloseSmall() {
		return closeSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param closeSmall
	 */
	public void setCloseSmall(Image closeSmall) {
		this.closeSmall = closeSmall;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getTrashSmall() {
		return trashSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param trashSmall
	 */
	public void setTrashSmall(Image trashSmall) {
		this.trashSmall = trashSmall;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getPlus() {
		return plus;
	}

	/**
	 * setter Methode fuer Icon
	 * @param plus
	 */
	public void setPlus(Image plus) {
		this.plus = plus;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getPlusSmall() {
		return plusSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param plusSmall
	 */
	public void setPlusSmall(Image plusSmall) {
		this.plusSmall = plusSmall;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getMinus() {
		return minus;
	}

	/**
	 * setter Methode fuer Icon
	 * @param minus
	 */
	public void setMinus(Image minus) {
		this.minus = minus;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getMinusSmall() {
		return minusSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param minusSmall
	 */
	public void setMinusSmall(Image minusSmall) {
		this.minusSmall = minusSmall;
	}
	
	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getSearch() {
		return search;
	}

	/**
	 * setter Methode fuer Icon
	 * @param search
	 */
	public void setSearch(Image search) {
		this.search = search;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getSearchSmall() {
		return searchSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param searchSmall
	 */
	public void setSearchSmall(Image searchSmall) {
		this.searchSmall = searchSmall;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getKategorienSmall() {
		return kategorienSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param kategorienSmall
	 */
	public void setKategorienSmall(Image kategorienSmall) {
		this.kategorienSmall = kategorienSmall;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getEditSmall() {
		return editSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param editSmall
	 */
	public void setEditSmall(Image editSmall) {
		this.editSmall = editSmall;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getExitSmall() {
		return exitSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param exitSmall
	 */
	public void setExitSmall(Image exitSmall) {
		this.exitSmall = exitSmall;
	}
	
	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getLoadFolderSmall() {
		return loadFolderSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param loadFolderSmall
	 */
	public void setLoadFolderSmall(Image loadFolderSmall) {
		this.loadFolderSmall = loadFolderSmall;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getOpenSmall() {
		return openSmall;
	}

	/**
	 * setter Methode fuer Icon
	 * @param openSmall
	 */
	public void setOpenSmall(Image openSmall) {
		this.openSmall = openSmall;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getKeinBild() {
		return keinBild;
	}

	/**
	 * setter Methode fuer Icon
	 * @param keinBild
	 */
	public void setKeinBild(Image keinBild) {
		this.keinBild = keinBild;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getSave() {
		return save;
	}

	/**
	 * setter Methode fuer Icon
	 * @param save
	 */
	public void setSave(Image save) {
		this.save = save;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getSternVoll() {
		return sternVoll;
	}

	/**
	 * setter Methode fuer Icon
	 * @param sternVoll
	 */
	public void setSternVoll(Image sternVoll) {
		this.sternVoll = sternVoll;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getSternLeer() {
		return sternLeer;
	}

	/**
	 * setter Methode fuer Icon
	 * @param sternLeer
	 */
	public void setSternLeer(Image sternLeer) {
		this.sternLeer = sternLeer;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getTableBewertung0() {
		return tableBewertung0;
	}

	/**
	 * setter Methode fuer Icon
	 * @param tableBewertung0
	 */
	public void setTableBewertung0(Image tableBewertung0) {
		this.tableBewertung0 = tableBewertung0;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getTableBewertung1() {
		return tableBewertung1;
	}
	
	/**
	 * setter Methode fuer Icon
	 * @param tableBewertung1
	 */
	public void setTableBewertung1(Image tableBewertung1) {
		this.tableBewertung1 = tableBewertung1;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getTableBewertung2() {
		return tableBewertung2;
	}

	/**
	 * setter Methode fuer Icon
	 * @param tableBewertung2
	 */
	public void setTableBewertung2(Image tableBewertung2) {
		this.tableBewertung2 = tableBewertung2;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getTableBewertung3() {
		return tableBewertung3;
	}

	/**
	 * setter Methode fuer Icon
	 * @param tableBewertung3
	 */
	public void setTableBewertung3(Image tableBewertung3) {
		this.tableBewertung3 = tableBewertung3;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getTableBewertung4() {
		return tableBewertung4;
	}

	/**
	 * setter Methode fuer Icon
	 * @param tableBewertung4
	 */
	public void setTableBewertung4(Image tableBewertung4) {
		this.tableBewertung4 = tableBewertung4;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getTableBewertung5() {
		return tableBewertung5;
	}

	/**
	 * setter Methode fuer Icon
	 * @param tableBewertung5
	 */
	public void setTableBewertung5(Image tableBewertung5) {
		this.tableBewertung5 = tableBewertung5;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getMoveBack() {
		return moveBack;
	}
	
	/**
	 * setter Methode fuer Icon
	 * @param moveBack
	 */
	public void setMoveBack(Image moveBack) {
		this.moveBack = moveBack;
	}

	/**
	 * getter Methode fuer Icon
	 * @return Icon
	 */
	public Image getMoveForward() {
		return moveForward;
	}
	
	/**
	 * setter Methode fuer Icon
	 * @param moveForward
	 */
	public void setMoveForward(Image moveForward) {
		this.moveForward = moveForward;
	}
	
	/**
	 * getter Methode fuer Beispielbild
	 * @return Image
	 */
	public Image getExamplePic() {
		return examplePic;
	}
	
	/**
	 * setter Methode fuer Beispielbild
	 * @param examplePic
	 */
	public void setExamplePic(Image examplePic) {
		this.examplePic = examplePic;
	}
}
